package com.greenhou.mapping;

import com.greenhou.utils.ParameterMapping;

import java.util.List;

/**
 * @ClassName BoundSql
 * @Description 处理过的Sql对象
 * @Author YR
 * @Date 2020/6/15 23:58
 * @Version 1.0
 */
public class BoundSql {
    //处理完sql,将类似where name=#{name} 处理成where name = ?
    private String sqlText;
    //获取的参数映射List
    private List<ParameterMapping> parameterMappingList;

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
